package com.service;

import java.util.List;

import com.model.ProcessInstanceVO;

public interface ProcessInstanceService {
    /**
     * 获取全部的审批实例
     * @return List<ProcessInstanceVO>
     */
    public List<ProcessInstanceVO> listAllProcessInstance();
    
    /**
     * 插入数据库
     * @param insert
     * @return int
     */
    public int insert(ProcessInstanceVO insert);
    
    /**
     * 更新
     * @param update
     * @return int
     */
    public int update(ProcessInstanceVO update);
}
